package com.example.service;


import com.example.pojo.Book;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * @Author luqi
 * @Date 2025 06 19 09 20
 **/

@Transactional
public interface BookService {

    public boolean SaveNewBook(Book book);

    public boolean DeleteBookById(Integer id);

    public boolean UpdateBookInformation(Book book);

    public Book SearchBookById(Integer id);

    public List<Book> SearchAllBook();
}
